//
// Created by LONG on 2020/11/12.
//

#include "l1ApiAdpt.h"
#include "intel/l1Api.h"
#include "scf/l1Api.h"

S_UeL1ApiAdpt *gpUeL1ApiAdpt = NULL;

static S_UeL1ApiAdpt gUeL1ApiAdpt[] =
{
    { UE_SCF_L1_API_ProcConfigReq, UE_SCF_L1_API_ProcSyncReq, UE_SCF_L1_API_TtiProc},
    { UE_INTEL_L1_API_ProcConfigReq, UE_INTEL_L1_API_ProcSyncReq, UE_INTEL_L1_API_TtiProc},
};
STATIC_ASSERT(ARRAY_SIZE(gUeL1ApiAdpt) == UE_L1_API_TYPE_BUTT);

int32_t UE_L2_L1_ADPT_Init(void)
{
    gpUeL1ApiAdpt = &gUeL1ApiAdpt[UE_L1_API_TYPE_SCF];

    return O5G_RC_OK;
}

int32_t UE_L2_L1_ADPT_Final(void)
{
    return O5G_RC_OK;
}
